from django.urls import path,re_path
from customer import views
urlpatterns=[
    #总部
    path('hq-index/',views.hq_index),
    re_path(r'^hq-update/(?P<id>\d+)/$', views.hq_update),
    path('hq-update-form/', views.hq_update_form),
    re_path(r'^hq-customercsp/(\d+)/$', views.hq_consumercsp),

    #分部
    path('index/',views.index),
    path('update-form/',views.update_form),
    re_path(r'^update/(?P<id>\d+)/$',views.update),
    path('add/',views.add),
    path('add-form/',views.add_form),

]